<?php
/**
 * crcl/base
 *
 * Copyright 2013 CRCL - André Sabosch - info@crcl.de
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

namespace crcl\base\database\container;

class Exception extends \crcl\base\database\Exception
{
  const ERROR_MISSINGDATA = '\crcl\base\database\container\missing_data';

  const ERROR_MYSQL_INITFAILED = '\crcl\base\database\container\mysql\init_failed';
  const ERROR_MYSQL_OPTIONSFAILED = '\crcl\base\database\container\mysql\init_failed';
  const ERROR_MYSQL_CONNECTFAILED = '\crcl\base\database\container\mysql\connect_failed';
  const ERROR_MYSQL_CHARSETFAILED = '\crcl\base\database\container\mysql\charset_failed';

  const ERROR_MYSQL_EXECUTESQL = '\crcl\base\database\container\mysql\execute_sql';
  const ERROR_MYSQL_CREATETABLE = '\crcl\base\database\container\mysql\create_table';
  const ERROR_MYSQL_DROPTABLE = '\crcl\base\database\container\mysql\drop_table';
  const ERROR_MYSQL_INSERT = '\crcl\base\database\container\mysql\insert';
  const ERROR_MYSQL_UPDATE= '\crcl\base\database\container\mysql\update';
  const ERROR_MYSQL_DELETE = '\crcl\base\database\container\mysql\delete';
  const ERROR_MYSQL_SELECT = '\crcl\base\database\container\mysql\select';

  /*
  const ERROR_DYNAMODB_DELETE = '\crcl\base\database\container\dynamodb\delete';
  const ERROR_DYNAMODB_INSERT = '\crcl\base\database\container\dynamodb\insert';
  const ERROR_DYNAMODB_NOTEXIST = '\crcl\base\database\container\dynamodb\not_exist';
  */
}